package cn.zhf.shop.mapper;
import org.apache.ibatis.annotations.Param;

import cn.zhf.shop.entity.organization.OrganizationType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrganizationTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OrganizationType record);

    int insertSelective(OrganizationType record);

    OrganizationType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrganizationType record);

    int updateByPrimaryKey(OrganizationType record);

    List<OrganizationType> selectAll();

    String selectTypeNameById(@Param("id")Integer id);


}
